package com.wngbms.aop.staticproxy;

import java.util.Random;

public class DefaultEchoService implements EchoService {
    @Override
    public String echo(String msg) {
//        Random random = new Random();
//        if (random.nextBoolean()) {
//            throw new RuntimeException("random exp");
//        }

        return "hello:" + msg;
    }

}
